@extends('layout.layoutv5')
@section('content')
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>设备列表</h5>
                </div>
                <div class="ibox-content">

                    <table class="table table-striped">
                        <thead>
                        <tr>
                            <th>#</th>
                            <th>设备地址</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        @foreach ($machineList as $machine)
                        <tr>
                            <td>{{ $machine['id'] }}</td>
                            <td>{{ $machine['address'] }}</td>
                            <td><a href="/machine/editMachineSlots?id={{ $machine['machine_id'] }}" >编辑货道</a></td>
                        </tr>
                        @endforeach
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

@endsection
@section('js_block')
    <script src="/js/plugins/echarts/echarts-all.js"></script>


    <script>
        $(document).ready(function () {

        });
    </script>
@endsection
